﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Demo
{
    public partial class UserDialog : Form
    {
        public string Hoten
        {
            get;
            set;
        }
        public DateTime NgaySinh { get; set; }

        public UserDialog()
        {
            InitializeComponent();
        }

        private void cancelButton_Click(object sender, EventArgs e)
        {
            //this.Close();
        }

        private void okButton_Click(object sender, EventArgs e)
        {
            Hoten = fulNameText.Text;
            NgaySinh = birthDayPicker.Value;
        }
    }
}
